package com.imc.platform.base.role.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import javax.persistence.*;

//全参构造函数
@AllArgsConstructor
//无参构造函数
@NoArgsConstructor
//提供读写属性
@Data
//标注为实体类
@Entity
//映射数据库表格
@Table(name = "t_role")
public class Role {

    //主键
    @Id
    private String id;
    private String roleName;
    private String desc;
    private Long state;
    private String createTime;
}
